//
//  CZTextView.swift
//  Weibo24
//
//  Created by apple on 16/3/4.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

class CZTextView: UITextView {

  
    // 注意类型-- NSString
    var holderString: NSString?
    
    override func drawRect(rect: CGRect) {
        // Drawing code
        //一定要注意,textView必须得有 font
        holderString?.drawAtPoint(CGPointMake(2, 8), withAttributes: [NSFontAttributeName: font!])
    }
   

}
